<!DOCTYPE html>
<html lang="en">
<script src="js/indexJs.js"></script>
<head>
    <meta charset="UTF-8">
    <title>欢迎访问首页</title>
</head>
<body>
<h1 style="position:absolute; left:280px; top:155px; width:auto; height:210px;">你喜欢我吗?</h1>
<div id="By" style="position:absolute; left:285px; top:235px;">
    <input type="button" value=" 是的！ " onclick="f1()">
</div>
<div id="Bn" style="position:absolute; left:360px; top:235px;">
    <input type="button" value=" 喜欢个锤子！ " onmouseover="f()" onclick="f2()">
</div>
</body>
</html>